import request from '@/utils/request'
export function house() {
    return request({
        url: "/General/get_house",
        method: "post",
        data: ''
    })
}
// 列表
export function getList(data, page) {
    return request({
        url: '/Stock_gift/order_list/' + (page ? page : 1),
        method: 'post',
        data: data
    })
}
// 获取分页
export function getPage(data) {
    return request({
        url: '/Stock_gift/order_page',
        method: 'post',
        data: data
    })
}
//弹框信息
export function order_info(ids) {
    return request({
        url: '/Stock_gift/gift_list',
        method: 'post',
        data: {order_id:ids}
    })
}
// 关闭
export function close(data) {
    return request({
        url: '/Stock_gift/deal_status',
        method: 'post',
        data: data
    })
}
// 提交
export function save(data) {
    return request({
        url: '/Stock_gift/check_order',
        method: 'post',
        data: data
    })
}